on a whim
verb
°done without thinking seriously about the consequences.
synonyms: on a lark